﻿using UnityEngine;
using System.Collections;
namespace GameUnit
{
    public enum UnitCommondEnum
    {
        Move,
        Attack
    }
    public class UnitMoveCommond : BaseCommond
    {
        public AbilityMove.MoveStateType MoveState;
        public bool IsJump;
        public long Time;
        public string UnitId;
        public UnitMoveCommond(string UnitId, AbilityMove.MoveStateType state, bool isJump, long time)
        {
            this.MoveState = state;
            this.IsJump = isJump;
            this.Time = time;
            this.UnitId = UnitId;
            this.CommondType = (int)UnitCommondEnum.Move;
        }

        public override void SendToServer()
        {

        }
    }
}